﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Data;

namespace Entity
{
    class DM_LOP_HOC
    {
        #region[Public Properties]

        public string Id { get; set; }
        public string MA_LOP_HOC { get; set; }
        public string TEN_LOP_HOC { get; set; }
        public string THU_TU { get; set; }

        #endregion
        #region[DM_LOP_HOCIDataReader]

        public static DM_LOP_HOC DM_LOP_HOCIDataReader(IDataReader dr)
        {
            var obj = new DM_LOP_HOC
                          {
                              Id = Convert.ToString(dr["Id"]),
                              MA_LOP_HOC = Convert.ToString(dr["MA_LOP_HOC"]),
                              TEN_LOP_HOC = Convert.ToString(dr["TEN_LOP_HOC"]),
                              THU_TU = Convert.ToString(dr["THU_TU"])
                          };
            return obj;
        }

        #endregion
    }
}
